package com.ins.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 信息分类
 *
 * @author ins
 * @since 2024/5/15
 */
@Getter
@AllArgsConstructor
public enum ClassifyEnum {

    /**
     * 摄影师->camera_man
     */
    CAMERA_MAN("摄影师"),
    /**
     * 演员->performer
     */
    PERFORMER("演员"),
    /**
     * 通告->notification
     */
    NOTIFICATION("通告"),
    /**
     * 场景->scene
     */
    SCENE("场景");

    private final String value;


    public static String getClassifyVal(String name) {
        return ClassifyEnum.valueOf(name).getValue();
    }

}
